package io.xiyou.order.api.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * order
 *
 * @author
 */
@ApiModel(value = "创建订单请求实体类")
@Data
public class AddOrderBO implements Serializable {

    /**
     * 商品ID
     */
    @ApiModelProperty(value = "商品ID")
    private Long productId;

    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    private Long userId;

    /**
     * 邀请用户ID
     */
    @ApiModelProperty(value = "邀请用户ID")
    private Long inviteUserId;

    /**
     * 原价
     */
    @ApiModelProperty(value = "原价")
    private BigDecimal originalPrice;

    /**
     * 优惠金额
     */
    @ApiModelProperty(value = "优惠金额")
    private BigDecimal discountsPrice;

    /**
     * 支付金额
     */
    @ApiModelProperty(value = "支付金额")
    private BigDecimal payPrice;

    /**
     * 收货人姓名
     */
    @ApiModelProperty(value = "收货人姓名")
    private String receiveName;

    /**
     * 收货人手机号
     */
    @ApiModelProperty(value = "收货人手机号")
    private String receivePhone;

    /**
     * 收货人地址
     */
    @ApiModelProperty(value = "收货人地址")
    private String receiveAddress;

    /**
     * 来源：l:APP-I0S；2:APP-Android；3:H5
     */
    @ApiModelProperty(value = "来源：l:APP-I0S；2:APP-Android；3:H5")
    private Integer source;

    /**
     * 创建者
     */
    @ApiModelProperty(value = "创建者")
    private String createBy;

}